#pragma once

#include <vex/core/contract/handle.h>
#include <memory>

namespace vex { namespace core {
    /// provides support for std::unique_ptr
    struct unique_delete {
        void operator()(contract::handle* p_handle) const
        {
            p_handle->release();
        }
    };
}}